JavaScript RegExp - p.p



Description

p.p matches any string containing p, followed by any character, in turn followed by another p.

Example

Following example shows usage of RegExp expression.


   
      JavaScript RegExp
   
   
   
      
   

Output

Test 1 - returned value : pap
Test 2 - returned value : null
Advertisements