Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2010
    Posts
    57
    Thanks
    26
    Thanked 0 Times in 0 Posts

    Regex variant forms

    I would appreciate a clue about regex variant forms.

    In one text editor I use, removing bracketed footnotes like [3] and [16] from a text works well by finding with either of these expressions —

    Code:
    \[[0-9]*\]
    
    \[\d*\]
    — but in another editor, only the first works, not the second.

    These are different implementations? Is there some simple guide to knowing which forms to use in different settings, other than trial and error?

    Thank you.

  • #2
    Regular Coder Arcticwarrio's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    709
    Thanks
    20
    Thanked 84 Times in 84 Posts
    There are 10 types of people on CodingForums,
    Those who understand Binary and those who dont.
    Get Cloud Hosting now from only£59 / month

  • #3
    New Coder
    Join Date
    Aug 2010
    Posts
    57
    Thanks
    26
    Thanked 0 Times in 0 Posts

    Thank you!

    Much appreciated.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •