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

  • SEARCH
  • Home
  • 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 8051459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:18:30+00:00 2026-06-05T07:18:30+00:00

Hello and thanks for the attention. Edit: im not a programmer, and I have

  • 0

Hello and thanks for the attention.

Edit: im not a programmer, and I have almost no idea of C# or any other language so, sorry for the question, i’ve been looking for a solution but nothing works. Thanks anyways you downvoted my question.

To the point, I got this code:

using System;
using VisualWebRipper.Internal.SimpleHtmlParser;
using VisualWebRipper;
public class Script
{

    public static string TransformContent(WrContentTransformationArguments args)
    {
        try
        {
            //Place your transformation code here.
            //This example just returns the input data

            return args.Content;
        }
        catch(Exception exp)
        {
            //Place error handling here
            args.WriteDebug("Custom script error: " + exp.Message);
            return "Custom script error";
        }
    }
}

I need to do a Condition with C# which let me find in *args.Content (who contains a variable string) the string “No se exige”, and if the Find match it change the string value to a digit (0) and return it. If not nothing changes.

So, I just need to search and replace a string into a digit if it match with the string “No se exige”.

Many thanks for the try hard reading my english, hope you can 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-06-05T07:18:31+00:00Added an answer on June 5, 2026 at 7:18 am

    Just use the Replace method:

    args.Content = args.Content.Replace("No se exige", "0");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello and thanks to everyone for reading my question. I've been working on a
Hello, thanks for reading my question. I have a string that I need to
Hello and thanks for any assistance. using .Net 3.5 C#; Say i have about
Hello all and thanks for your time. I believe I have a simple question.
Hello all and thanks for the attention! I have a problem that must both
Hello and thanks for listening. This is not an urgent question for me, I'm
Hello there and thanks in advance for any help on the following matter. Edit:
Hello all and thanks for any help in advance. I have a ruby on
I have this kinda template text : Hello {#Name#}, Thanks for coming blah on
Hello all and thanks in advance I have the tables accounts , votes and

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.