Regular Expressions 101

Get Nth value (3 times)

Open Workspace
  • PCRE (Legacy)
  • Match
3

Regular Expression

/
^(?=.{2}(.))(?=.{5}(.))(?=.{7}(.))
/

Description

capture Nth character from string, 3 times

Submitted by K.