Help for this page

Select Code to Download


  1. or download this
           $str = "This string has a number +15 init ";
    
           regex : m/.*([\+|-](\d+)).*$/ #which works well for above said 
    +string
    
  2. or download this
          $str = "This  string has a number15 init";
    
          #i need to fix the above regex to work for avove string as well