Текст анализа в документе HTML и замена символов открытыми и закрытиями HTML -тегамиJavascript

Форум по Javascript
Ответить Пред. темаСлед. тема
Anonymous
 Текст анализа в документе HTML и замена символов открытыми и закрытиями HTML -тегами

Сообщение Anonymous »

Я пытаюсь проанализировать текст документа HTML и заменить определенные символы ( и ** ) с тегами HTML. Я не уверен, как реализовать открытые и закрытые теги, такие как
и . Например:
В настоящее время используется jQuery. Пожалуйста, сообщите!

Код: Выделить всё

  $(document).ready(function() {

//var balle = '[i][/i]';
var balle = '[list][*][/list]'; //BULLET
var bold = '[/b]'; //BOLD TEXT

$(".chat-box").children().each(function() {
$(this).html($(this).html().replace(/###/g, balle));
});

}); //END JQUERY < /code>



Implementing and managing an orchestration tool involves several key steps and considerations to ensure that it effectively automates and coordinates various tasks and workflows within an IT environment. Here’s a detailed description of the experience:

### 1. **Requirement Analysis and Planning**

- **Understanding Needs:** Begin by understanding the specific needs of your organization. Identify the tasks and workflows that need to be automated.

- **Tool Selection:** Choose an orchestration tool that fits your requirements. Popular options include Ansible, Puppet, Chef, Kubernetes, and Terraform.

- **Resource Allocation:** Allocate the necessary resources, including personnel, budget, and infrastructure.

### 2. **Setup and Configuration**

- **Installation:** Install the chosen orchestration tool on the appropriate servers or environments.

- **Configuration:** Configure the tool according to your organization's policies and requirements. This may include setting up authentication, permissions, and network configurations.

- **Integration:** Integrate the orchestration tool with existing systems, such as CI/CD pipelines, monitoring tools, and cloud services.






Подробнее здесь: https://stackoverflow.com/questions/796 ... e-html-tag
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Javascript»