• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

18. Regular Expressions in ColdFusion > 18.6. Regular Expression Tester

Regular Expression Tester

Writing a regular expression is often a trial-and-error process. The process typically goes something like this:

  1. Create a ColdFusion template that contains a string and a regular expression to perform the task you want.

  2. Save the ColdFusion template.

  3. Open your web browser, point it to the ColdFusion template, and see if the regular expression behaves as intended.

  4. If the regular expression is successful, great! If not, you then have to modify the regular expression in the template and repeat Steps 2 through 4.

Some regular expressions are simple and can be worked out relatively quickly. Others, however, are more complicated and require you to repeat the trial-and-error process over and over. Constantly having to switch from the browser to the development environment can be a real pain.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint