• Resolved soulwasted

    (@soulwasted)


    Hi,

    I’m trying to create pattern for this style of input:
    Author N., Author2 X., Author3 Z.

    This pattern doesn’t work: (\w+\s\w{1}\.)(, )*
    Even this one not: /(\w+\s\w{1}\.)(, )*/gi
    Here my pattern works: https://regexr.com/

    Can you tell me how to apply my pattern?

    Thank you a lot!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Style of regular expression to use in input pattern’ is closed to new replies.