Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Wildcard Conversion to Regular Expressions

Wildcard Conversion to Regular Expressions

Scheduled Pinned Locked Moved C#
csharpregexvisual-studiotestingbeta-testing
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aisha Ikram
    wrote on last edited by
    #1

    In my application, i have to perform wildcard search as provided by Visual Studio .NET Find\Replace module. Visual Studio provides 5 wildcard operators (*,#,?, [! ], []). I have to replace the wildcard with regular expressions. I am facing problem in 2 things. 1.to make a pattern for * operator which with input string say "Test string is to Test for testing purposes by tester" generates output like - Test string is to Test for testing purposes by tester - Test for testing purposes by tester - testing purposes by tester - tester 2. these operators can be used in combination, so what do u think my basic regular expression will work in combinations? Anybody worked for wild card search? or know about some stuff to use for such conversion? Aisha Ikram

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups