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. Web Development
  3. ASP.NET
  4. Regex !!!

Regex !!!

Scheduled Pinned Locked Moved ASP.NET
regexquestioncsharpasp-net
6 Posts 4 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.
  • M Offline
    M Offline
    MrMicrosoftvn
    wrote on last edited by
    #1

    hello, imagine that my textarea have the value: [b]hello[/b] now i want to "translate" it into hello to make the text be bold. How can i do that with ASP.NET ? and where should i find those Regular Expression ? Does the Snizt Forum have them ? Thanks a lot !!! :)

    S H T 3 Replies Last reply
    0
    • M MrMicrosoftvn

      hello, imagine that my textarea have the value: [b]hello[/b] now i want to "translate" it into hello to make the text be bold. How can i do that with ASP.NET ? and where should i find those Regular Expression ? Does the Snizt Forum have them ? Thanks a lot !!! :)

      S Offline
      S Offline
      Sarvesvara BVKS Dasa
      wrote on last edited by
      #2

      REGX??? find - and - replace ??? He who controls others may be powerful,
      But he who has mastered himself is mightier still.

      M 1 Reply Last reply
      0
      • S Sarvesvara BVKS Dasa

        REGX??? find - and - replace ??? He who controls others may be powerful,
        But he who has mastered himself is mightier still.

        M Offline
        M Offline
        MrMicrosoftvn
        wrote on last edited by
        #3

        yes, i want to find that whether the Regular Expression match the value of textarea to make the text be bold

        1 Reply Last reply
        0
        • M MrMicrosoftvn

          hello, imagine that my textarea have the value: [b]hello[/b] now i want to "translate" it into hello to make the text be bold. How can i do that with ASP.NET ? and where should i find those Regular Expression ? Does the Snizt Forum have them ? Thanks a lot !!! :)

          H Offline
          H Offline
          henningbenk
          wrote on last edited by
          #4

          Why not simply replace [b] with and [/b] with ?

          M 1 Reply Last reply
          0
          • H henningbenk

            Why not simply replace [b] with and [/b] with ?

            M Offline
            M Offline
            MrMicrosoftvn
            wrote on last edited by
            #5

            well. the example above is just simple. That i want to do is the way that some forum had done.

            1 Reply Last reply
            0
            • M MrMicrosoftvn

              hello, imagine that my textarea have the value: [b]hello[/b] now i want to "translate" it into hello to make the text be bold. How can i do that with ASP.NET ? and where should i find those Regular Expression ? Does the Snizt Forum have them ? Thanks a lot !!! :)

              T Offline
              T Offline
              T Manjaly
              wrote on last edited by
              #6

              Simple text Find and Replace would be the easy way in this case.. If you want to use Regular Expressions, couple of samples are here : http://dotnetspider.com/technology/search/index.aspx?search=regular%20expression

              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