Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5949471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:15:17+00:00 2026-05-22T17:15:17+00:00

I created a asp.net page. The rich text area and regular expression validator are

  • 0

I created a asp.net page. The rich text area and regular expression validator are existed in this page. I want to check the html span tag that is contained or not in the rich text area. And then, I don’t know how to write expression in regular expression validator. Please, help me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:15:18+00:00Added an answer on May 22, 2026 at 5:15 pm

    You can figure out if there’s a span tag with C# in ASP.NET with the following regex:

    bool existsSpan = Regex.IsMatch(areaText, "<span[^>]*>");
    

    It searches for <span then none or some chars that is not >, and finally a >.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a new ASP.NET MVC application. The home page looks like this: I
I have HTML page of few tables created by ASP.NET and when I do
My ASP.NET page has some html: Default.aspx : <h2><asp:Localize meta:resourcekey=lblTitle Text=Welcome to so runat=server></h2>
I have one asp.net page. I want to add this page to asp.net mvc
I have a dynamically created TextBox in a C#/ASP.NET web page that I want
I have created a web page (ASP.NET) that includes a stylesheet to mimic Dynamics
Just starting out in asp.net. Have just created a login.aspx page in my site
I'm creating a login page. I want to create ASP.NET TextBox controls that have
Currently I've created a ASP.Net page that has a dropdown control with autopostback set
I have created an asp.net web page and I am using twitterizer.framework.dll. Below is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.