Skip to main content

Helpful regular expressions

Comments

2 comments

  • Prafull KhosePatil

    Hi Cosmin,

    How is tab character handled? Any regex specific to tab character?

     

    0
  • Vasile Gavrila

    Hi Prafull,

     

    For tab and any whitespace charater you should use: '[[:space:]]'. More details here: https://www.regular-expressions.info/posixbrackets.html

     

    Thanks!

    Vasile.

    0

Please sign in to leave a comment.