7a04 SMS Gateway - Troubleshooting, Ozeki Regular Expression Tester

                

Search the manual:

Overview Quick start Download Manual How to buy FAQ Contact Us
OZEKI NG SMS Gateway - Product Guide

Reading delivery reports Contents | SearchAccess to Ozeki NG

Home > Product Manual > User Guide > Administrator's guide > Troubleshooting > Ozeki Regular Expression Tester

SMS Gateway SMS Gateway Home

  Product Manual
  Introduction
  SMS technology
  Installation Guide
  User Guide
  Quick Start Guide
  User Interface
  Configuration
  Client software
  Administrator's guide
  Load Balancing for SMPP v3.3
  Troubleshooting
  Login problems
  Full uninstall
  SMS sending error page
  ESM Class
  Bypass proxy
  IP SMS timeout
  Error codes
  Reset deafult password
  Reading delivery reports
  Ozeki Regular Expression Tester
  Access to Ozeki NG
  Backup
  Manual uninstallation
  Manual upgrade
  Performance
  High volume SMS messaging
  Recommended computer
  Bandwidth
  Manual installation
  Clustering
  SNMP
  Migration/Hardware Replacement
  Message priorities
  Message queues
  SMPP via VPN
  Developers Guide
  Examples and Solutions
  Appendix
  FAQ
  Feature list
  Commercial Information
  Search
 



Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.


Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create:

Webphone solutions:
- Adobe Flash video phone
- Silverlight video phone
- Web to web calls
- Web to VoIP calls

Custom SIP clients:
- Silverlight SIP VoIP client
- Flash SIP VoIP client
- C# .net SIP VoIP client
- ASP .net SIP VoIP client
- Web based SIP VoIP client

Custom VoIP solutions:
- VoIP SIP softphones
- VoIP call center clients
- VoIP IVR systems
- VoIP predictive dialer systems
- VoIP auto dialer systems
- VoIP call assistant
- VoIP call recording systems
- VoIP intercom solutions

Ozeki Regular Expression Tester


On this page you can find Ozeki Regular Expression Tester that helps you test regular expressions before you use them in real and important cases. In this way you can avoid inconvenient situations when regular expressions do not work properly. Please find the tester below and learn its use following screen shots to ensure seamless working.

Download: Ozeki_Regexp_tester.exe

Regular expressions can be determined in Inbound and Outbound routes in Ozeki NG SMS Gateway. With this tester you can test whether the given regular expression works properly or not.

How to use the tester:

Pattern: define the regular expression you want to test
Data: Specify the text to which you want the regular expression to match
After you provided these values, click on Run

At Result field you will receive the result of the test and you can see whether the regular expression and the data match or not match (Figure 1).


Figure 1 - Ozeki Regular Expression Tester

Examples

Example 1

To sort out phone numbers start with 520 and 521 from other phone numbers, you need to define the following regular expression as "Pattern":

/^(520|521).*/

Then fill Data field with a value you want to test. In our example it is "521552478". Finally click on Run. On Figure 2 you can see that there is a match (as "521552478" starts with 521) and the Result is "521552478".


Figure 2 - Regular expression match

Figure 3 demonstrates what happens if the phone number does not start with 521. In our example "521552478" is specified in Data field and as it does not start with 521 there is no match.


Figure 3 - Regular expression does not match

Example 2

To sort out names John Smith, you need to define the following regular expression and click Run:

^(John)*(Smith)$

If you define "John Smith" as Data, there will be a match.
If you specify "John Smith Edgar" as Data, it will be not match.

Example 3

To convert local phone numbers into international ones, you need the following regular expression:

s/^.*(.{10})$/+3$1 /

If you provide e.g. "06301122334" phone number as Data you will receive the following result after clicking Run: "+36304080329" (+ sign will be placed before the phone number)

Manipulation

Example 4

To append text to the message you need the following regular expression:

s/^(.*)$/$1 This text will be appended./

DATA: "Test"
RESULT: "Test This text will be appended." (After the predefined Data the appended text will be appeared).

Example 5

After the first 10 characters of the original message, "Hello world" can be appended with the following regular expression:

s/^(.{10}).*/$1 Hello World/

DATA: "Test Message"
RESULT: "Test Messa Hello World" (After the 10th character "Hello World" is appended and the remaining characters are cut off).





Next page: Access to Ozeki NG
Copyright © 2000 - 2013 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com


0